//package com.kay.restdemo.server.controller;
//
////import com.kay.restdemo.server.exception.MyException;
//import com.kay.restdemo.server.exception.MyException;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("error")
//public class Error {
//    public String Error() throws MyException {
//        throw new MyException("Error");
//    }
//}
